﻿using System;
using System.IO;
using JiShiBen.Core.Properties;

namespace JiShiBen.Core
{
// ReSharper disable InconsistentNaming
	internal static class __Error
// ReSharper restore InconsistentNaming
	{
		public static void FileNotFound(string path)
		{
			var msg = string.Format(Resources.IO_FileNotFound, path);
			throw new FileNotFoundException(msg, path);
		}

		public static void ArgumentNull(string argumentName)
		{
			throw new ArgumentNullException(argumentName);
		}
	}
}
